package com.saw96x.MyBlog.dao;

import com.saw96x.MyBlog.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author Saw96x
 * @date 20/11/05 - 19:58
 *
 * 用户的dao层
 */
public interface UserRepository extends JpaRepository<User,Long> {
    User findByUsernameAndPassword(String username, String password);
}
